home *** CD-ROM | disk | FTP | other *** search
/ TestDrive Windows 1993 Fall / TestDrive Windows 1993 Fall.iso / photo / pcxhdr.txt < prev    next >
Text File  |  1993-01-20  |  4KB  |  95 lines

  1. Using PCXHDR
  2.  
  3. You use the PCXHDR utility to view .PCX file information in the file 
  4. header. The PCXHDR utility is automatically copied to your PhotoFinish 
  5. directory and added to your PhotoFinish program group during setup. 
  6. The name of the icon is PCX File Info.
  7.  
  8. PCXHDR generates a report that includes the file header information. 
  9. You can also use the PCXHDR utility to turn off palette information. This 
  10. is useful if you load a .PCX file and are not satisfied with the look of your 
  11. picture.
  12.  
  13. You should keep in mind the following conventions used in the command 
  14. line format for DOS utilities:
  15. Include file extensions when filenames are called for.
  16. Include backslashes in paths (e.g., C:\PHOTO\EXAMPLE.PCX).
  17. Separate multiple options with a space.
  18. Square brackets "[ ]" enclose optional parameters that you replace.
  19. Braces "{ }" enclose required parameters that must be replaced.
  20.  
  21. To view the header information of a PCX file from the Windows 
  22. environment:
  23.  
  24. 1 Activate the Windows Program Manager.
  25. 2 Double-click the PCX File Info program icon in your PhotoFinish 
  26.   program group.
  27. 3 Type the filename you want to display information about.
  28.   If the picture you want to know about is in a different directory, 
  29.   type the full path and name of the file.
  30. 4 If you want to turn palette information on, press the spacebar and type 
  31.   On after the filename.
  32.   If you want to turn palette information off, press the spacebar and type 
  33.   Off after the filename.
  34. 5 Press Enter.
  35.   PCXHDR generates a report about the file. See the following chart for 
  36.   the information included in the report.
  37.  
  38. PCXHDR Information
  39.  
  40. Following is the header information PCXHDR reports:
  41.  
  42. Version: the PCX version of the picture you are checking and whether 
  43. your Palette is on or off. Palette On means palette data stored in the file 
  44. is used when you load the picture. Palette Off means the palette data 
  45. will not be used.
  46.  
  47. Image Size: the dimensions of the picture in pixels.
  48.  
  49. Number of Colors: the number of colors used in the picture's Palette.
  50.  
  51. Image Window: the x and y coordinates of the .PCX file.
  52.  
  53. Number of Planes: the number of planes in each pixel of the picture.
  54.  
  55. Bits Per Pixel: the space needed to create one pixel of color on your 
  56. screen.
  57.  
  58. Bytes Per Line Per Plane: the number of bytes on each line of a plane.
  59.  
  60. Image Resolution: the number of dots-per-inch that were set when the 
  61. picture was created.
  62.  
  63. Palette Info: the type of palette used to create the picture (gray scale, 
  64. 256 color, black and white).
  65.  
  66. Reserved: this space is reserved for future use.
  67.  
  68. Screen Size: the size of your screen in pixels. This information is not 
  69. applicable to .PCX files created with Publisher's Paintbrush 1.xx, PC 
  70. Paintbrush Plus 1.xx, or PC Paintbrush versions earlier than 3.xx.
  71.  
  72. Palette (RGB): the actual RGB values for each color in the Palette of the 
  73. picture (also known as the Color Map).
  74.  
  75. Running PCXHDR from DOS
  76.  
  77. You can use the PCXHDR utility in DOS. To do this, exit Windows and 
  78. type the following command at the DOS prompt:
  79.  
  80. [drive:][path]PCXHDR [drive:][path]{pcxfilename} on/off
  81.  
  82. For example, if PCXHDR is stored in C:\PHOTO and ROSE.PCX is in 
  83. D:\PICTURES you would type the command line:
  84.  
  85. C:\PHOTO\PCXHDR      D:\PICTURES\ROSE.PCX   ON
  86.  
  87. The information may scroll off your screen. In DOS you can write the 
  88. PCXHDR report to a text file using the following command line:
  89.  
  90. [drive:][path]PCXHDR {filename} on >{filename.txt}
  91.  
  92. Once you have the file written to a text file, you can open it in a word 
  93. processing program for reading as you would any other text file.
  94.  
  95.